package com.kk.xhr.admin.controller.request;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 用户添加请求request
 *
 * @author kkmystery
 * @version 1.0 2021/3/12
 * @since 1.0.0
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserAddRequest {
    /** 名字 */
    @NotBlank
    private String name;
    private String email;
    /** 部门id */
    private Long departmentId;
    /** 直接上级bossId */
    private Long bossId;
    /** 职位id */
    private Long positionId;
    /** 职称id */
    private Long levelId;
    /** 工龄 */
    private Integer workAge;
}
